#pragma once
#include "player.h"


// Should be compatible with the older winamps... whatever

class CWinamp5 :
	public CPlayer
{
public:
	CWinamp5(void);
	~CWinamp5(void);
	int Play(void);
	int Stop(void);
	int Previous(void);
	int Next(void);
	int SetPosition(int ms);
	int GetPosition(void);
	int Refresh(char *file, int pos);
	int IsPlaying(void);
	CString GetFileName(int pos);
	int Find(void);
	HWND _hWnd;
	int PlAdd(char *file, int pos);
	int PlRemove(int pos);
	int PlGetPos(void);
	int PlSetPos(int pos);
	HWND _hPl;
	int PlGetSize(void);
	HWND _hML;
};
